package com.jt.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jt.pojo.User;

import java.util.List;
//继承接口后，必须添加泛型对象，否则程序无法执行
public interface UserMapper extends BaseMapper<User>{
    List<User> findAll();
    User userById(Integer id);
    User userByname(String name,String sex);
    List<User> testSelect4(Integer age,String sex);
    List<Integer> testSelect8();

}
